/**
 * Created by luckyjing on 15/12/23.
 */
var OAuth = require('wechat-oauth');
var fs = require('fs');
var AppID = "wxdb09cd21946b6279";
var AppSecret = "28d127efc910b0978b07e9640e290f34";
var client = new OAuth(AppID, AppSecret);
var url = client.getAuthorizeURL('www.ledouya.com/node', '', 'snsapi_userinfo');
exports.getAccessToken = client.getAccessToken;
exports.getUser = client.getUser;